home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Media / lobby_skybox.x < prev    next >
Text File  |  2001-10-08  |  8KB  |  434 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. template FrameTransformMatrix {
  129.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  130.  Matrix4x4 frameMatrix;
  131. }
  132.  
  133. template Frame {
  134.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  135.  [...]
  136. }
  137.  
  138. Header {
  139.  1;
  140.  0;
  141.  1;
  142. }
  143.  
  144. Frame CUBE_Root {
  145.  FrameTransformMatrix {
  146.   3.000000, 0.000000, 0.000000, 0.000000,
  147.   0.000000, 3.000000, 0.000000, 0.000000,
  148.   0.000000, 0.000000, 3.000000, 0.000000,
  149.   0.000000, 0.000000, 0.000000, 1.000000;;
  150.  }
  151.  
  152. Mesh Unnamed_0 {
  153.  4;
  154.  1.000000;1.000000;-1.000000;,    // 0
  155.  -1.000000;1.000000;-1.000000;,   // 1
  156.  -1.000000;1.000000;1.000000;,    // 2
  157.  1.000000;1.000000;1.000000;;     // 3
  158.  
  159.  2;
  160.  3;0,2,1;,
  161.  3;0,3,2;;
  162.  
  163.   MeshMaterialList {
  164.       1;
  165.   2;
  166.   0,
  167.   0;
  168.      Material {
  169.      1.000000;1.000000;1.000000;1.000000;;
  170.      0.000000;
  171.      1.000000;1.000000;1.000000;;
  172.        0.000000;0.000000;0.000000;;
  173.           TextureFilename {
  174.       "LobbyYPos.bmp";
  175.      }
  176.      }
  177.  }
  178.   MeshNormals {
  179.  4;
  180.  0.000000;1.000000;0.000000;,
  181.  0.000000;1.000000;0.000000;,
  182.  0.000000;1.000000;0.000000;,
  183.  0.000000;1.000000;0.000000;;
  184.  
  185.  2;
  186.  3;0,1,2;,
  187.  3;0,2,3;;
  188.  }
  189.   MeshTextureCoords {
  190.     4;
  191.     1.000000;0.000000;;
  192.     0.000000;0.000000;,
  193.     0.000000;1.000000;,
  194.     1.000000;1.000000;,
  195.  }
  196. }
  197.  
  198. Mesh Unnamed_1 {
  199.  4;
  200.  1.000000;1.000000;-1.000000;,    // 0
  201.  1.000000;1.000000;1.000000;,     // 3
  202.  1.000000;-1.000000;1.000000;,    // 7
  203.  1.000000;-1.000000;-1.000000;,   // 4
  204.  
  205.  2;
  206.  3;0,2,1;,
  207.  3;0,3,2;;
  208.  
  209.   MeshMaterialList {
  210.       1;
  211.   2;
  212.   0,
  213.   0;
  214.      Material {
  215.      1.000000;1.000000;1.000000;1.000000;;
  216.      0.000000;
  217.      1.000000;1.000000;1.000000;;
  218.        0.000000;0.000000;0.000000;;
  219.           TextureFilename {
  220.       "LobbyXPos.bmp";
  221.      }
  222.      }
  223.  }
  224.   MeshNormals {
  225.  4;
  226.  1.000000;0.000000;0.000000;,
  227.  1.000000;0.000000;0.000000;,
  228.  1.000000;0.000000;0.000000;,
  229.  1.000000;0.000000;0.000000;,
  230.  
  231.  
  232.  2;
  233.  3;0,1,2;,
  234.  3;0,2,3;;
  235.  }
  236.   MeshTextureCoords {
  237.     4;
  238.     1.000000;0.000000;;
  239.     0.000000;0.000000;,
  240.     0.000000;1.000000;,
  241.     1.000000;1.000000;,
  242.  }
  243. }
  244.  
  245. Mesh Unnamed_2 {
  246.  4;
  247.  -1.000000;1.000000;-1.000000;,   // 1
  248.  -1.000000;-1.000000;-1.000000;,  // 5
  249.  -1.000000;-1.000000;1.000000;,   // 6
  250.  -1.000000;1.000000;1.000000;,    // 2
  251.  
  252.  2;
  253.  3;0,2,1;,
  254.  3;0,3,2;;
  255.  
  256.   MeshMaterialList {
  257.       1;
  258.   2;
  259.   0,
  260.   0;
  261.      Material {
  262.      1.000000;1.000000;1.000000;1.000000;;
  263.      0.000000;
  264.      1.000000;1.000000;1.000000;;
  265.        0.000000;0.000000;0.000000;;
  266.           TextureFilename {
  267.       "LobbyXNeg.bmp";
  268.      }
  269.      }
  270.  }
  271.   MeshNormals {
  272.  4;
  273.  -1.000000;0.000000;0.000000;,
  274.  -1.000000;0.000000;0.000000;,
  275.  -1.000000;0.000000;0.000000;,
  276.  -1.000000;0.000000;0.000000;,
  277.  
  278.  
  279.  2;
  280.  3;0,1,2;,
  281.  3;0,2,3;;
  282.  }
  283.   MeshTextureCoords {
  284.     4;
  285.     0.000000;0.000000;,
  286.     0.000000;1.000000;,
  287.     1.000000;1.000000;,
  288.     1.000000;0.000000;;
  289.  }
  290. }
  291.  
  292. Mesh Unnamed_3 {
  293.  4;
  294.  1.000000;1.000000;1.000000;,     // 3
  295.  -1.000000;1.000000;1.000000;,    // 2
  296.  -1.000000;-1.000000;1.000000;,   // 6
  297.  1.000000;-1.000000;1.000000;,    // 7
  298.  
  299.  2;
  300.  3;0,2,1;,
  301.  3;0,3,2;;
  302.  
  303.   MeshMaterialList {
  304.       1;
  305.   2;
  306.   0,
  307.   0;
  308.      Material {
  309.      1.000000;1.000000;1.000000;1.000000;;
  310.      0.000000;
  311.      1.000000;1.000000;1.000000;;
  312.        0.000000;0.000000;0.000000;;
  313.           TextureFilename {
  314.       "LobbyZNeg.bmp";
  315.      }
  316.      }
  317.  }
  318.   MeshNormals {
  319.  4;
  320.  0.000000;0.000000;1.000000;,
  321.  0.000000;0.000000;1.000000;,
  322.  0.000000;0.000000;1.000000;,
  323.  0.000000;0.000000;1.000000;,
  324.  
  325.  
  326.  2;
  327.  3;0,1,2;,
  328.  3;0,2,3;;
  329.  }
  330.   MeshTextureCoords {
  331.     4;
  332.     1.000000;0.000000;;
  333.     0.000000;0.000000;,
  334.     0.000000;1.000000;,
  335.     1.000000;1.000000;,
  336.  }
  337. }
  338.  
  339. Mesh Unnamed_4 {
  340.  4;
  341.  1.000000;1.000000;-1.000000;,    // 0
  342.  1.000000;-1.000000;-1.000000;,   // 4
  343.  -1.000000;-1.000000;-1.000000;,  // 5
  344.  -1.000000;1.000000;-1.000000;,   // 1
  345.  
  346.  2;
  347.  3;0,2,1;,
  348.  3;0,3,2;;
  349.  
  350.   MeshMaterialList {
  351.       1;
  352.   2;
  353.   0,
  354.   0;
  355.      Material {
  356.      1.000000;1.000000;1.000000;1.000000;;
  357.      0.000000;
  358.      1.000000;1.000000;1.000000;;
  359.        0.000000;0.000000;0.000000;;
  360.           TextureFilename {
  361.       "LobbyZPos.bmp";
  362.      }
  363.      }
  364.  }
  365.   MeshNormals {
  366.  4;
  367.  0.000000;0.000000;-1.000000;,
  368.  0.000000;0.000000;-1.000000;,
  369.  0.000000;0.000000;-1.000000;,
  370.  0.000000;0.000000;-1.000000;,
  371.  
  372.  
  373.  2;
  374.  3;0,1,2;,
  375.  3;0,2,3;;
  376.  }
  377.   MeshTextureCoords {
  378.     4;
  379.     0.000000;0.000000;,
  380.     0.000000;1.000000;,
  381.     1.000000;1.000000;,
  382.     1.000000;0.000000;;
  383.  }
  384. }
  385.  
  386. Mesh Unnamed_5 {
  387.  4;
  388.  1.000000;-1.000000;-1.000000;,   // 4
  389.  1.000000;-1.000000;1.000000;,    // 7
  390.  -1.000000;-1.000000;1.000000;,   // 6
  391.  -1.000000;-1.000000;-1.000000;;  // 5
  392.  
  393.  2;
  394.  3;0,2,1;,
  395.  3;0,3,2;;
  396.  
  397.   MeshMaterialList {
  398.       1;
  399.   2;
  400.   0,
  401.   0;
  402.      Material {
  403.      1.000000;1.000000;1.000000;1.000000;;
  404.      0.000000;
  405.      1.000000;1.000000;1.000000;;
  406.        0.000000;0.000000;0.000000;;
  407.           TextureFilename {
  408.       "LobbyYNeg.bmp";
  409.      }
  410.      }
  411.  }
  412.   MeshNormals {
  413.  4;
  414.  0.000000;-1.000000;0.000000;,
  415.  0.000000;-1.000000;0.000000;,
  416.  0.000000;-1.000000;0.000000;,
  417.  0.000000;-1.000000;0.000000;;
  418.  
  419.  
  420.  2;
  421.  3;0,1,2;,
  422.  3;0,2,3;;
  423.  }
  424.   MeshTextureCoords {
  425.     4;
  426.     1.000000;0.000000;;
  427.     0.000000;0.000000;,
  428.     0.000000;1.000000;,
  429.     1.000000;1.000000;,
  430.  }
  431. }
  432.  
  433. }
  434.